/**
 * Copyright © 2022-2023 AsiaInfo Technologies Limited.
 * All Rights Reserved.
 * -
 * This software is the confidential and proprietary information of
 * AsiaInfo Technologies Limited.
 * ("Confidential Information"). You shall not disclose such
 * Confidential Information and shall use it only in accordance with
 * the terms of the license agreement you entered into with asiainfo.
 * -
 * ASIAINFO MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
 * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
 * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT.ASIAINFO SHALL NOT BE LIABLE FOR
 * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
 * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
 */
package com.wy.common.util.tree;

import java.io.Serializable;

/**********************************************************
 * Copyright © 2022,亚信科技(中国)有限公司
 * All Rights Reserved.
 *
 * 文件名称： EntityObject.java
 * 摘    要： [实体对象接口.]
 *
 * 初始版本：1.0.0
 * 原 作 者：zhangwenbo
 * 完成日期： 2022年4月28日 下午20时49分29秒

 * 当前版本： 1.0.0
 * 作    者： zhangwenbo
 * 完成日期： 2022年4月28日 下午20时49分29秒
 *
 *****************************************************************/

/**
 *@param <P> 主键
 */
public interface EntityObject<P extends Serializable> extends Serializable {
    /**
     *
     * 获取主键.
     *
     * @return P  主键
     */
    P getId();
}
